#include <stdio.h>

char * mystrcpy(char* dest, const char* src) {
    //char* p = dest;
    while ((*dest++ = *src++) != '\0');
    return dest;
}

int main() {
    char source[] = "Hello, world!";
    char destination[20];

    mystrcpy(destination, source);
    printf("Result: %s\n", destination);

    return 0;
}

